﻿using System;
using OpenComposite.EII.Repository;
namespace OpenComposite.EII
{
	public interface IMainController
	{
		event EventHandler<OpenComposite.EII.Designer.CreateProcessEventArgs> CreateProcessForComponentOperation;
		event EventHandler<OpenComposite.EII.ItemSelectedEventArgs> CreateProcessForMethod;

		void RegisterControllerEvents(OpenComposite.EII.Designer.IController controller);
		void UnRegisterControllerEvents(OpenComposite.EII.Designer.IController controller);

		void Show();

		void OpenDiagram(IRepositoryItem item);
	}
}
